<?php
function p($msg){
	var_dump($msg);
}
function isLessThenIE9(){
	if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6.0') || strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 7.0') || strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 8.0') || strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9.0')){
		return true;
	}
	return false;
}
function str2arr($str, $delimiter){
	return explode($delimiter, $str);
}
function arr2str($arr, $glue){
	return implode($glue, $arr);
}
function dt_format($timestamp = NOW_TIME){
	return date('Y-m-d H:i:s',$timestamp);
}
?>